package shamir;

public class Main
{
    public static String path = "d:/shamir/";

    public static void main( String[] args )
    {
        shamirGenerator sG = new shamirGenerator( path + "priv", path + "pub.txt" );
        sG.generate();
        String[] tab = { path + "priv1.txt", path + "priv2.txt", path + "priv4.txt" };
        shamirResolver sR = new shamirResolver( tab, path + "pub.txt" );
        sR.joinShamir();
    }
}
